package com.feng.common.exceptions;

import com.feng.common.enums.ApiErrorEnum;

/**
 * @author feng
 * @describe
 */
public class ServiceException extends RuntimeException{
    public ServiceException(String message) {
        super(message);
    }

    public ServiceException(ApiErrorEnum apiErrorEnum) {
        super(apiErrorEnum.getMsg());
    }
}
